package com.fa4j.system.settings.convert;

import com.fa4j.common.base.convert.CommonConvertor;
import com.fa4j.common.base.convert.ConverterConfig;
import com.fa4j.system.settings.model.Settings;
import com.fa4j.system.settings.model.SettingsCreateCmd;
import com.fa4j.system.settings.model.SettingsDataModifyCmd;
import com.fa4j.system.settings.model.SettingsModifyCmd;
import org.mapstruct.Mapper;

@Mapper(config = ConverterConfig.class)
public interface SettingsConverter extends CommonConvertor<Settings, SettingsCreateCmd, SettingsModifyCmd> {

    SettingsModifyCmd toModifyCmd(SettingsDataModifyCmd cmd);
}
